Communicating
with MCI Devices
The driver of
each MCI device maintains a list of its current settings and capabilities, so
it can issue an accurate response when it is queried for information.
When you want
to communicate with an MCI device, you can use MCIWnd macros and functions.
Many of the most common MCI commands and queries are defined as macros.
However, if the task you want to perform is unavailable as a function or macro,
you can send MCI commands directly to the device driver by using the MCIWndSendString1PGC_K2 function as follows:
mciSendString(sz, Null, 0, Null)
The
parameters of MCIWndSendString
For more
information about MCI, see MCI
Note You must
exclude the device alias from the MCI command when you use MCIWndSendString.
The MCIWnd library adds this alias when it sends the command to the MCI device.